package com.omega.exam.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.omega.exam.entity.ExamRecord;
import com.omega.exam.vo.SubmitAnswerVo;

import java.util.List;

/**
 * 考试服务接口
 */
public interface ExamService extends IService<ExamRecord> {

    void submit(Integer examRecordId, List<SubmitAnswerVo> answers) throws InterruptedException;

    ExamRecord gradeExam(Integer examRecordId) throws InterruptedException;
}
 